package com.hnit.service;

import com.hnit.web.bean.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "IDGenerator-service")  //服务名
public interface IdGeneratorClient {
    @GetMapping("/idGenerate")  //地址
    ResponseResult getId();
}
